package com.application.fabric.test.Token;

import com.application.fabric.users.entity.ExtractToken;
import org.apache.ibatis.annotations.ResultMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/tokenjiexi1")
public class jiexi {
    @Autowired
    private ExtractToken extractToken;
    @PostMapping("fist")
    public void fist(){
        System.out.println(extractToken.getPhonenum());
        System.out.println(extractToken.getPublickey());
        System.out.println(extractToken.getUserid());
    }
}
